package com.tyut.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tyut.common.annotation.Excel;
import com.tyut.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 软著对象 tyut_softness
 * 
 * @author tyut
 * @date 2023-11-21
 */
public class TyutSoftness extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 软著名 */
    @Excel(name = "软著名")
    private String name;

    /** 所有发明人 */
    @Excel(name = "所有发明人")
    private String allInventor;

    /** 软著号 */
    @Excel(name = "软著号")
    private String number;

    /** 授权日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "授权日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date authorizedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAllInventor(String allInventor) 
    {
        this.allInventor = allInventor;
    }

    public String getAllInventor() 
    {
        return allInventor;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setAuthorizedDate(Date authorizedDate) 
    {
        this.authorizedDate = authorizedDate;
    }

    public Date getAuthorizedDate() 
    {
        return authorizedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("allInventor", getAllInventor())
            .append("number", getNumber())
            .append("authorizedDate", getAuthorizedDate())
            .toString();
    }
}
